package com.yidi;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author ：Xn
 * @ClassName: YiDiServletInitializer
 * @date ：2021-10-19 15:06
 * @describe ：web容器中进行部署
 */
public class YiDiServletInitializer extends SpringBootServletInitializer
{
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(YiDiApplication.class);
    }
}
